package com.infore.water.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author:wk
 * @date:Created in 13:37 2017\11\27 0027
 */
public class CloneFactor {

    public static List<Factor> getclone(List<Factor> factors) throws CloneNotSupportedException{
        List<Factor> factorList = new ArrayList<>();
        for(Factor factor:factors){
            factorList.add(factor.clone());
        }
        return factorList;
    }
}
